<!doctype html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../assert_selection.js"></script>
<script>
// Delete at the end of document when there is a BR following a P.
// This is a test case for rdar://problem/4110366
selection_test(
    [
        '<div contenteditable>',
            '<p>hello</p>',
            '<p>^<br></p>',
            '|<br>',
        '</div>',
    ],
    'Delete',
    [
        '<div contenteditable>',
            '<p>hello</p>',
            '<p>|<br></p>',
        '</div>',
    ]);
</script>
